package com.artpri.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * GoodBrand entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "good_brand", catalog = "jpw")
public class GoodBrand implements java.io.Serializable {

	// Fields

	private Integer brandId;
	private String brandName;
	private Integer gcId;
	private Integer brandShow;
	private Integer existType;

	// Constructors

	/** default constructor */
	public GoodBrand() {
	}

	/** full constructor */
	public GoodBrand(String brandName, Integer gcId, Integer brandShow,
			Integer existType) {
		this.brandName = brandName;
		this.gcId = gcId;
		this.brandShow = brandShow;
		this.existType = existType;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "brand_id", unique = true, nullable = false)
	public Integer getBrandId() {
		return this.brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	@Column(name = "brand_name", nullable = false)
	public String getBrandName() {
		return this.brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	@Column(name = "gc_id", nullable = false)
	public Integer getGcId() {
		return this.gcId;
	}

	public void setGcId(Integer gcId) {
		this.gcId = gcId;
	}

	@Column(name = "brand_show", nullable = false)
	public Integer getBrandShow() {
		return this.brandShow;
	}

	public void setBrandShow(Integer brandShow) {
		this.brandShow = brandShow;
	}

	@Column(name = "exist_type", nullable = false)
	public Integer getExistType() {
		return this.existType;
	}

	public void setExistType(Integer existType) {
		this.existType = existType;
	}

}